package com.designpatterns.behavioral.composite;

public abstract class AbstractFile {

    private String name;

    public AbstractFile(String name) {
        this.name = name;
    }

    public abstract void add(AbstractFile file);

    public abstract void remove(AbstractFile file);

    public abstract AbstractFile getChild(int i);

    public abstract void killVirus();

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
